package cn.itsource.ymcc.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PayDto {

    @NotEmpty(message ="orderNo 不能为空" )
    private String orderNo;//orderNo,

    @NotNull(message = "payType,不能为空")
    private Integer payType;// _this.orderForm.payType,

    @NotEmpty(message ="callUrl 不能为空" )
    private String callUrl ;// "http;////course.ymcc.com;//6002/detail.html?courseId="+_this.orderForm.courseIds[0]

}
